package com.ian.homework;

public class TalkPackage {
    private int iTime;
    private float fMessage;
    private float iCost;

    public TalkPackage(int iTime, int iMessage, float iCost) {
        this.iTime = iTime;
        this.fMessage = iMessage;
        this.iCost = iCost;
    }

    public TalkPackage() {
    }

    public int getiTime() {
        return iTime;
    }

    public void setiTime(int iTime) {
        this.iTime = iTime;
    }

    public float getfMessage() {
        return fMessage;
    }

    public void setfMessage(int fMessage) {
        this.fMessage = fMessage;
    }

    public float getiCost() {
        return iCost;
    }

    public void setiCost(float iCost) {
        this.iCost = iCost;
    }

    public void show() {
        System.out.println("通话时长:" + this.iTime);
        System.out.println("短信条数:" + this.fMessage);
        System.out.println("消费:" + this.iCost);
    }
}
